package edu.zut.cs.software.perfect.grade.service;

import java.util.List;
import java.util.Optional;

import edu.zut.cs.software.perfect.base.service.GenericTreeManager;
import edu.zut.cs.software.perfect.grade.domain.CourseGrade;

/**
 * @ClassName CourseGradeManager
 * @Description TODO
 * @Author zhangwenkai
 * @Date 2020年5月29日 下午9:03:50
 * @Version 1.0
 */
public interface CourseGradeManager extends GenericTreeManager<CourseGrade,Long> {
	List<CourseGrade> findAll();
	Optional<CourseGrade> findByCourseId(Long courseId);
	Boolean deleteById(Long courseId);

}
